package MainWindow;

import Draw.Base;
import javax.swing.*;
import java.awt.Image;

public class BaseIcon extends ImageIcon{
	private Base base;
	private String path;
	public BaseIcon(Image image, Base base, String path) {
		super(image);
		this.base = base;
		this.path = path;
	}
	
	public Base getBase() {
		return (Base)base.clone();
	}
	
	public String getPath() {
		return path;
	}
	
	public void setBase(Base base) {
		this.base = base;
	}
	
	public String getTest() {
		return "---------";
	}
	
	
}
